package com.ssy.lingxi.search.model.response;

import com.ssy.lingxi.search.api.model.response.GoodsAttributeResponse;
import lombok.Data;

import java.io.Serializable;
import java.util.Map;
import java.util.Set;

/**
 * 商品货品单价和图片响应类
 * @author jw.chen
 * @version 2.0.0
 * @date 2020/6/28
 */
@Data
public class PurchaseChannelUnitPriceAndPicResponse implements Serializable {
    private static final long serialVersionUID = -7412546332388363792L;
    /**
     * 主键id
     */
    private Long id;

    /**
     * 商品
     */
    private PurchaseCommodityResponse commodity;

    /**
     * 商品属性
     */
    private Set<GoodsAttributeResponse> attributeAndValueList;

    /**
     * 商品单价
     */
    private Map<String,Double> unitPrice;

    /**
     * 会员商品skuId(用于渠道商品查询库存)
     */
    private Long commodityUnitPriceAndPicId;

}
